#-*coding:utf-8-*-
__author__ = 'aesop'

#pymongo自带连接池，真是幸福啊，啊哈哈哈哈
import pymongo

__client = pymongo.MongoClient("mongodb://smeug.nju.edu.cn:27017/")

__db = __client.weixin

def get_collection(collection_name):
    return __db[collection_name]


